package cn.broadsense.thrid.param;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

import java.util.List;

/**
 * 设备组织树
 *
 * @author pengxin
 * @date 2022-11-10 14:16
 */
@Data
public class DeviceTreeParam extends BasePageParam{

    private static final long serialVersionUID = -44539950525739332L;

    private String id;

    private Integer nodeType;

    private String typeCode;

    @Override
    public List<String> getIgnoreList() {
        List<String> ignoreList = super.getIgnoreList();
        ignoreList.add("nodeType");
        ignoreList.add("nodeType");
        ignoreList.add("page");
        ignoreList.add("pageSize");
        return ignoreList;
    }

    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return JSONObject.class;
    }
}
